﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SoccerEvaluator.Common.Interface
{
    /// <summary>
    /// 
    /// </summary>
    public interface ITemplate
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="item"></param>
        void Add(TemplateInfo item);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="id"></param>
        void Delete(int id);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        TemplateInfo Get(int id);
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        List<TemplateInfo> List();
        /// <summary>
        /// 
        /// </summary>
        /// <param name="item"></param>
        void Update(TemplateInfo item);

    }
}
